using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using Sharp.Domain.PlatformBoundedContext.WorkFlowModule.Aggregates;

namespace Sharp.Domain.PlatformBoundedContext.ModelConfigurations.Workflow
{
    public partial class LogEntityConfiguration
        : EntityTypeConfiguration<LogEntity>
    {
        public LogEntityConfiguration()
        {
            // keys
            HasKey(t => t.Id);

            // Properties
            Property(t => t.Id)
                .IsRequired().HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);

            

        }
    }
}